﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using WindowDialogResult = System.Windows.Forms.DialogResult;

namespace DefinePropsInput
{
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    public partial class DefineProps : Window
    {
        public DefineProps()
        {
            InitializeComponent();
        }

        #region 属性
        /// <summary>
        /// 链接库文件夹路径
        /// </summary>
        public string Input_PropClassT { get { return PropClassT.Text; } }

        /// <summary>
        /// 属性项名称
        /// </summary>
        public string Input_PropName { get { return PropName.Text; } }


        /// <summary>
        /// SSDP安装路径
        /// </summary>
        public string Input_PropValue { get { return PropValue.Text; } }

        #endregion

        #region Button事件
        private void 确认(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
            this.Close();
        }
        #endregion
    }
}
